home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / is.xml < prev    next >
Text File  |  2002-08-30  |  2KB  |  52 lines

  1. <search function="is">
  2.   <name>InfoSpace.ca Individual Search</name>
  3.   <description>
  4.     Look up phone numbers and addresses in Canada.<br/>
  5.     <div class="helpboxDescLabels">Example:</div>
  6.     <table class="helpboxDescTable">
  7.       <tr><td>is John Smith (Halifax, NS)</td></tr>
  8.     </table>
  9.   </description>
  10.   <category>People and Places</category>
  11.   <link>http://www.infospace.com/canada/redirs_all.htm?pgtarg=ppli</link>
  12.   <contributor>Sarah Sweeney</contributor>
  13.   <email>sarah@designshift.com</email>
  14.   <form name="infospaceform"
  15.         action="http://kevdb.infospace.com/canada/kevdb"
  16.         method="get">
  17.     <input type="hidden" name="OTMPL" value="res/r1.html" />
  18.     <input type="hidden" name="QFM" value="N" />
  19.     <input type="hidden" name="QK" value="5" />
  20.     <input type="hidden" name="KCFG" value="CA" />
  21.     <input type="hidden" name="QN" />
  22.     <input type="hidden" name="QF" />
  23.     <input type="hidden" name="QC" />
  24.     <input type="hidden" name="QS" />
  25.   </form>
  26.   <script><![CDATA[
  27.     function is(q)
  28.     {
  29.       if( nullArgs("is", q) )
  30.         return false;
  31.  
  32.       res = q.match(/(((\w+\s+)?\w+)\s+)?(\w+)(\s*\((([^,]+),?\s*)?(\w\w)\))?/);
  33.       if (!res)
  34.         openSearchWindow("http://www.infospace.com/canada/redirs_all.htm?pgtarg=ppli&");
  35.       else
  36.       {
  37.         document.infospaceform.QF.value=(res[2] ? res[2] : "");
  38.         document.infospaceform.QN.value=(res[4] ? res[4] : "");
  39.         document.infospaceform.QC.value=(res[7] ? res[7] : "");
  40.         document.infospaceform.QS.value=(res[8] ? res[8].toUpperCase() : "");
  41.         submitForm(infospaceform);
  42.       }
  43.     }
  44.   ]]></script>
  45.  
  46.   <copyright>
  47.     Copyright (c) 2002 David Bau
  48.     Distributed under the terms of the
  49.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  50.   </copyright>
  51. </search>
  52.